import Vue from 'vue';
import Router from 'vue-router';
import Home from '../components/index/Home';
import Nocode from '../components/index/Nocode';


Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/error',
      component: Home
    },
    {
      path: '/noCode',
      component: Nocode
    }
  ]
});
